package com.csun.cmny.provider.model.vo.sanitation;

import com.csun.cmny.provider.model.domain.OmcSanitationServiceBind;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

@Data
public class SanitationRecordVo {


    private Long id;

    //老人id
    private Long oldManId;

    //老人名字
    private String oldManName;

    //老人年龄
    private Integer oldManAge;

    //老人性别 1-男 2-女
    private Integer oldManGender;

    //老人照护等级
    private String oldManLevelCare;

    //房間號
    private String roomNo;

    //床位号
    private String bedNo;

    //组织id
    private Long groupId;

    //护工名字
    private String nursingName;

    //护工userId
    private Long nursingUserId;

    //记录日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date recordDate;

    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    //备注
    private String remark;

    //卫生服务集合
    private List<OmcSanitationServiceBind> sanitationServices;

}
